package com.sy.core.mapper;

import com.sy.core.model.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * 	TODO 请用一句话描述该类的作用
 * @author CaiXinChong email:1060296473@qq.com
 * @version 1.0
 * @since 1.0
 */


@Mapper
public interface SysUserMapper  {
	
	 void insertSelective(SysUser sysUser);
	
	 void updateSelective(SysUser sysUser);
	
	 void deleteByPrimaryKey(String key);
	
	 SysUser queryByPrimaryKey(String key);
	
	 List<SysUser> queryByCondition(SysUser sysUser);

	void batchDelete(String pks);

	SysUser queryUserByPhoneAndPassword(@Param("phone")String phone,@Param("password")String password);
}
